var http = require("http");
var url = require("url");

var server = http.createServer(function(req,res){
    res.writeHead(200, {"Content-type": "text/html;charset=UTF-8"});    
    var queryObj = url.parse(req.url,true).query;
    var name  = queryObj.name;
    var age = queryObj.age;
    var sex = queryObj.sex;
      
    res.end("success" + name + age + sex);
});

server.listen(2000,"127.0.0.1");